/*  VisualGroup JavaScript prototype Classes, version draf
 *  (c) 2006 Bill Vison <vison_ruan@126.com>
 *
 *
/*--------------------------------------------------------------------------*/
using("Vsg.Chooser");
using("Vsg.Common.Logger");

Vsg.Chooser.GenericChooser = Ext.extend(Ext.util.Observable,{
												
	constructor:function($attrs) {

		// extend event --
		this.addEvents({
			"chooserCallback": true
		})


		var $_attrs = {
			id:"Vsg.Chooser.GenericChooser"
		}
		
		if ($attrs != null) {
			 $_attrs = $attrs;
		}

		Vsg.Chooser.GenericChooser.superclass.constructor.call(this,$_attrs);
		
	},
	
	// --- to implement interface defined ---
	show:function(el, callback){
		

	}
	
});
Vsg.Chooser.GenericChooser.Exception = Ext.extend(Exception.CommonException,{
	name:"Vsg.Chooser.GenericChooser.Exception",
	constructor:function($message , $name ,$value) {
		Vsg.Chooser.GenericChooser.Exception.superclass.constructor.apply(this, arguments);
	}
});
Vsg.Chooser.GenericChooser.Exception.ParamsNullError = 1;
Vsg.Chooser.GenericChooser.Exception.URLNotNullError = 2;


(function() {
	try {
		Interface.ensureImplements(new Vsg.Chooser.GenericChooser({url:"empty"}), Vsg.Chooser);	
	} catch (e) {
		Ext.log("Class Implement Error :"+"[Vsg.Chooser.GenericChooser] , " + e);
	}		  
})();
